package com.management.department.teacherinfosystem.Repository;

import com.management.department.teacherinfosystem.Entity.StudentGuidanceAchievement;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface StudentGuidanceAchievementRepository extends JpaRepository<StudentGuidanceAchievement, Long>, JpaSpecificationExecutor<StudentGuidanceAchievement> {
    List<StudentGuidanceAchievement> findByGuidance_Id(Long guidanceId);
    void deleteByGuidance_Id(Long guidanceId);
} 